package com.budwk.app.sqfw.services;

import com.budwk.app.sqfw.dto.building.BuildQueryReqVo;
import com.budwk.app.sqfw.dto.building.BuildingInfoDTO;
import com.budwk.app.sqfw.models.BuildingInfo;
import com.budwk.starter.common.result.Result;
import com.budwk.starter.database.service.BaseService;

public interface BuildingInfoService extends BaseService<BuildingInfo> {

    BuildingInfoDTO submitData(BuildingInfoDTO dto);

    BuildingInfo findByDetailAddress(String detailAddress);

    Result<?> listByPage(BuildQueryReqVo dto);

    void deleteBuilding(BuildingInfo dto);

    void buildHouseRelate();
}
